package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the LMB_PURCHASE_DETAIL database table.
 * 
 */
@Entity
@Table(name="LMB_PURCHASE_DETAIL")
@NamedQuery(name="LmbPurchaseDetail.findAll", query="SELECT l FROM LmbPurchaseDetail l")
public class LmbPurchaseDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="PD_ID")
	private String pdId;

	@Column(name="PD_BATCH_NUM")
	private String pdBatchNum;

	@Column(name="PD_C_ID")
	private String pdCId;

	@Column(name="PD_CP_ID")
	private String pdCpId;

	@Column(name="PD_NAME")
	private String pdName;

	@Column(name="PD_NORMS")
	private String pdNorms;

	@Column(name="PD_NUM")
	private BigDecimal pdNum;

	@Column(name="PD_PRICE")
	private BigDecimal pdPrice;

	@Temporal(TemporalType.DATE)
	@Column(name="PD_PRODUCT_DATE")
	private Date pdProductDate;

	@Column(name="PD_SUPPLIER")
	private String pdSupplier;

	@Temporal(TemporalType.DATE)
	@Column(name="PD_VALID_TILL")
	private Date pdValidTill;

	public LmbPurchaseDetail() {
	}

	public String getPdId() {
		return this.pdId;
	}

	public void setPdId(String pdId) {
		this.pdId = pdId;
	}

	public String getPdBatchNum() {
		return this.pdBatchNum;
	}

	public void setPdBatchNum(String pdBatchNum) {
		this.pdBatchNum = pdBatchNum;
	}

	public String getPdCId() {
		return this.pdCId;
	}

	public void setPdCId(String pdCId) {
		this.pdCId = pdCId;
	}

	public String getPdCpId() {
		return this.pdCpId;
	}

	public void setPdCpId(String pdCpId) {
		this.pdCpId = pdCpId;
	}

	public String getPdName() {
		return this.pdName;
	}

	public void setPdName(String pdName) {
		this.pdName = pdName;
	}

	public String getPdNorms() {
		return this.pdNorms;
	}

	public void setPdNorms(String pdNorms) {
		this.pdNorms = pdNorms;
	}

	public BigDecimal getPdNum() {
		return this.pdNum;
	}

	public void setPdNum(BigDecimal pdNum) {
		this.pdNum = pdNum;
	}

	public BigDecimal getPdPrice() {
		return this.pdPrice;
	}

	public void setPdPrice(BigDecimal pdPrice) {
		this.pdPrice = pdPrice;
	}

	public Date getPdProductDate() {
		return this.pdProductDate;
	}

	public void setPdProductDate(Date pdProductDate) {
		this.pdProductDate = pdProductDate;
	}

	public String getPdSupplier() {
		return this.pdSupplier;
	}

	public void setPdSupplier(String pdSupplier) {
		this.pdSupplier = pdSupplier;
	}

	public Date getPdValidTill() {
		return this.pdValidTill;
	}

	public void setPdValidTill(Date pdValidTill) {
		this.pdValidTill = pdValidTill;
	}

	public LmbPurchaseDetail(String pdId, String pdBatchNum, String pdCId, String pdCpId, String pdName, String pdNorms,
			BigDecimal pdNum, BigDecimal pdPrice, Date pdProductDate, String pdSupplier, Date pdValidTill) {
		super();
		this.pdId = pdId;
		this.pdBatchNum = pdBatchNum;
		this.pdCId = pdCId;
		this.pdCpId = pdCpId;
		this.pdName = pdName;
		this.pdNorms = pdNorms;
		this.pdNum = pdNum;
		this.pdPrice = pdPrice;
		this.pdProductDate = pdProductDate;
		this.pdSupplier = pdSupplier;
		this.pdValidTill = pdValidTill;
	}

}